package com.cleaningcloud.cld.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 资产明细对象 cld_assets_details
 * 
 * @author cleaningcloud
 * @date 2024-10-06
 */
@Data
public class CldAssetsDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资产明细ID */
    private Long assetsDetailsId;

    /** 资产ID */
    @Excel(name = "资产ID")
    private Long assetsId;

    /** ID编号(根据资产编号XX+ID编号)唯一 */
    @Excel(name = "ID编号(根据资产编号XX+ID编号)唯一")
    private String assetsIdCard;

    /** 购置单价 */
    private BigDecimal bulMoney;

    /** 维修基数 */
    private BigDecimal maintenanceRv;

    /** 购置时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购置时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date bulTime;

    /** 是否折旧过期 */
    @Excel(name = "是否折旧过期")
    private Long isDepreciation;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createId;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 备注是否关闭 */
    @Excel(name = "备注是否关闭")
    private Long flag;

    @Excel(name = "资产编号")
    private String assetsNo;

    // 资产名称
    private String assetsName;
    // 资产型号
    private String assetsModel;
}
